//
//  AD_Environment.h
//  ActiveDeck
//
//  Created by Michael Cohen on 10/31/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GDataXMLNode.h"

@interface AD_Environment : NSObject {

    NSString *username;
    NSString *password;
    
    NSString *simpleUsername;
    
    GDataXMLElement *authNode;
}

@property (nonatomic, retain) NSString *username;
@property (nonatomic, retain) NSString *password;
@property (nonatomic, retain) NSString *simpleUsername;
@property (nonatomic, retain) GDataXMLElement *authNode;


-(BOOL)hasLogin;
-(NSString*)getAuthentication;
-(void)setAuthenticationUsername:(NSString*)name AndPassword:(NSString*)psswd;
-(void)clearEnvironment;
@end

